package com.wang.jmonkey.common.config;

import com.wang.jmonkey.common.property.FileSystemProperty;
import com.wang.jmonkey.common.support.yml.TransformYmlFactory;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import org.springframework.context.annotation.PropertySource;

@Configuration
@PropertySource(value= {"classpath:/WX-FILE-SYSTEM/file-system-${spring.profiles.active}.yml"} , factory = TransformYmlFactory.class)
@EnableConfigurationProperties(FileSystemProperty.class)
@Import(FileSystemHandlerImportSelector.class)
public class FileSystemAutoConfig {
}
